﻿<UserControl x:Class="MemoryGames.GameStartButton"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Height="52" Width="300" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
	<UserControl.Resources>
		<Storyboard x:Key="MouseEnter"/>
		<Storyboard x:Key="MouseEnterStoryboard"/>
		<Storyboard x:Key="MouseLeaveStoryboard"/>
	</UserControl.Resources>
	<UserControl.Triggers>
		<EventTrigger RoutedEvent="Mouse.MouseEnter">
			<BeginStoryboard Storyboard="{StaticResource MouseEnterStoryboard}" x:Name="MouseEnterStoryboard_BeginStoryboard"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="Mouse.MouseLeave">
			<BeginStoryboard Storyboard="{StaticResource MouseLeaveStoryboard}" x:Name="MouseLeaveStoryboard_BeginStoryboard"/>
		</EventTrigger>
		<EventTrigger RoutedEvent="UIElement.MouseLeftButtonDown"/>
	</UserControl.Triggers>
    <Grid x:Name="grid" Background="{x:Null}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="60"></ColumnDefinition>
            <ColumnDefinition Width="240"></ColumnDefinition>
        </Grid.ColumnDefinitions>
    	<Path Stretch="Fill" Grid.ColumnSpan="2" StrokeLineJoin="Round" Stroke="#FF000000" Data="F1 M 25.375,0.250004L 275.125,0.250004C 288.932,0.250004 300.125,11.4429 300.125,25.25L 300.125,25.25C 300.125,39.0571 288.932,50.25 275.125,50.25L 25.375,50.25C 11.5679,50.25 0.375,39.0571 0.375,25.25L 0.375,25.25C 0.375,11.4429 11.5679,0.250004 25.375,0.250004 Z " Margin="-0.125,-0.25,-0.625,1.25">
    		<Path.Fill>
    			<LinearGradientBrush StartPoint="-0.00166806,0.5" EndPoint="1.00167,0.5">
    				<GradientStop Color="#CCFFFFFF" Offset="0"/>
    				<GradientStop Color="#3EFFFFFF" Offset="1"/>
    			</LinearGradientBrush>
    		</Path.Fill>
    	</Path>
        <Label Name="GameName" FontSize="26" Margin="20,0,22.5,1.25" Grid.ColumnSpan="2" HorizontalContentAlignment="Center">Game</Label> 
    </Grid>
    
</UserControl>
